#include <iostream>

using namespace std;

// 感觉题目一般

// Encodes a URL to a shortened URL.
string encode(string longUrl) {
    
}

// Decodes a shortened URL to its original URL.
string decode(string shortUrl) {
    
}

int main(){

    return 0;
}